<template>
  <view class="pages-reg-vw1">
    <web-view :webview-styles="webviewStyles" :src="url"></web-view>
  </view>
</template>

<script>
import request from '@/common/request.js';
export default {
  data() {
    return {
      repeat_click: true,
      webviewStyles: {
        progress: {
          color: 'rgb(242,242,242)',
        },
      },
      title: '',
      url: '',
    };
  },
  onShow() {
    uni.setNavigationBarTitle({
      title: this.title,
    });
  },
  onLoad(opt) {
    this.title = opt.title;
    this.url = opt.url;
  },
};
</script>

<style>
.pages-reg-vw1 {
  background: rgb(242, 242, 242);
  width: 100%;
  height: auto;
  display: block;
  float: left;
}
</style>
